﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IronOne.SalesOne.BusinessObjects
{
    public class BatchJob
    {
        private string schedule_Name;	    
	    private Int16 enabled = 1;
	    private int freqType = 0;
	    private int freqInterval = 1; 
	    private int freqSubdayType = 0;
	    private int freqSubdayInterval = 0; 
	    private int freqRelativeInterval = 0; 
	    private int freqRecurrenceFactor = 0; 
	    private int? activeStartDate = null; 
	    private int activeEndDate = 99991231; 
	    private int activeStartTime = 0;
        private int activeEndTime = 235959;

        public int FreqInterval
        {
            get
            {
                return freqInterval;
            }
            set
            {
                freqInterval = value;
            }
        }
        public int ActiveEndTime
        {
            get
            {
                return activeEndTime;
            }
            set
            {
                activeEndTime = value;
            }
        }
        public int ActiveStartTime
        {
            get
            {
                return activeStartTime;
            }
            set
            {
                activeStartTime = value;
            }
        }
        public int ActiveEndDate
        {
            get
            {
                return activeEndDate;
            }
            set
            {
                activeEndDate = value;
            }
        }
        public int? ActiveStartDate
        {
            get
            {
                return activeStartDate;
            }
            set
            {
                activeStartDate = value;
            }
        }
        public int FreqRecurrenceFactor
        {
            get
            {
                return freqRecurrenceFactor;
            }
            set
            {
                freqRecurrenceFactor = value;
            }
        }
        public int FreqSubdayInterval
        {
            get
            {
                return freqSubdayInterval;
            }
            set
            {
                freqSubdayInterval = value;
            }
        }
        public int FreqSubdayType
        {
            get
            {
                return freqSubdayType;
            }
            set
            {
                freqSubdayType = value;
            }
        }
        public int FreqRelativeInterval
        {
            get
            {
                return freqRelativeInterval;
            }
            set
            {
                freqRelativeInterval = value;
            }
        }
        public string Schedule_Name 
        {
            get
            {
                return schedule_Name;
            }
            set
            {
                schedule_Name = value;
            }
        }
        public Int16 Enabled 
        {
            get
            {
                return enabled;
            }
            set
            {
                enabled = value;
            }
        }
        public int FreqType
        {
            get
            {
                return freqType;
            }
            set
            {
                freqType = value;
            }
        }
    }
}
